import request from "@/utils/request"

export const getType = async(id)=>{
    return request({
        url:"/types",
        params:{
            id
        }
    })
}